package com.usb2uartagent;


import android.content.Context;

import com.upcontrol.uartagent.core.inter.DataReceive;

/**
 * Copyright (c) 2017, SuZhou CsjBot. All Rights Reserved.
 * www.csjbot.com
 * <p>
 * Created by 浦耀宗 at 2017/02/09 0009-14:06.
 * Email: puyz@csjbot.com
 */
public interface IUARTConnectorHelper {
    void onDataRecevie(byte[] data);

    int init(Context context, String device, int speed);

    int send(byte[] data);

    void destroy();

    void setDataReceive(DataReceive receive);
}


